package com.oop;

import java.util.Date;

/**
 * @author caizhengjun
 * @date 2020/9/4 7:52 下午
 */
public class Cat extends Animal {
    private String food;

    public Cat(String name, int age, Date birthday, String food) {
        super(name, age, birthday);
        this.food = food;
    }

    public Cat(String food) {
        this.food = food;
    }

    public void CatFly() {
        super.fly();
    }
}
